/** Implementation of DataID Class.
 * @file 
 * @author Jeremy Schultz
 */
#include "DataID.h"


using namespace std;

//-----------------------------------------------------------------------------
// Constructor
DataID::DataID() : WordData(WordData::ID)	{
	id = "";
}
//-----------------------------------------------------------------------------
// Constructor
DataID::DataID(string _id) : WordData(WordData::ID)	{
	id = _id;
}

//-----------------------------------------------------------------------------
// Getter - Value
string DataID::Id()	{
	return id;
}

//-----------------------------------------------------------------------------
// Setter - Value
void DataID::setId(string _id)	{
	id = _id;
}


//-----------------------------------------------------------------------------
// convert DataID to string
string DataID::toString()	{
	stringstream ss;

	ss << WordData::toString();
	ss << " id: " << id;

	return ss.str();
}


